
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { ZcxxEntity } from './entities/zcxxentity';

import { ZcxxProxy } from './zcxxproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/basicdata/v1.0/zcfl_frm',
    entityType: ZcxxEntity
})
export class ZcxxRepository extends BefRepository<ZcxxEntity> {
    public name = 'ZcxxRepository';

    public proxy: ZcxxProxy;
    public paginationInfo = {
        ZcxxEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(ZcxxProxy, null);
    }
}